package com.veryedu.hibernate.hbm.entity;

import java.util.HashSet;
import java.util.Set;

/**
 * Room entity. @author MyEclipse Persistence Tools
 */

public class Room implements java.io.Serializable {

	// Fields

	private Integer roomid;
	private String roomname;
	private Set seatinfos = new HashSet(0);
	private Set changcis = new HashSet(0);

	// Constructors

	/** default constructor */
	public Room() {
	}

	/** full constructor */
	public Room(String roomname, Set seatinfos, Set changcis) {
		this.roomname = roomname;
		this.seatinfos = seatinfos;
		this.changcis = changcis;
	}

	// Property accessors

	public Integer getRoomid() {
		return this.roomid;
	}

	public void setRoomid(Integer roomid) {
		this.roomid = roomid;
	}

	public String getRoomname() {
		return this.roomname;
	}

	public void setRoomname(String roomname) {
		this.roomname = roomname;
	}

	public Set getSeatinfos() {
		return this.seatinfos;
	}

	public void setSeatinfos(Set seatinfos) {
		this.seatinfos = seatinfos;
	}

	public Set getChangcis() {
		return this.changcis;
	}

	public void setChangcis(Set changcis) {
		this.changcis = changcis;
	}

}